package io.geekidea.boot.system.query;

import io.geekidea.boot.framework.page.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import static com.hwtx.form.domain.FormConstants.RET_TYPE_LIST;

/**
 * 系统角色查询参数
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "系统角色查询参数")
public class SysRoleQuery extends BasePageQuery {
    private static final long serialVersionUID = 1L;

    @Schema(description = "角色名称")
    private String name;
    @Schema(description = "返回类型")
    private Integer retType = RET_TYPE_LIST;
    @Schema(description = "组织ID")
    private Long orgId;
}

